namespace GameServer.ShootingGame.MapClasses
{
	
	/// <summary>
	/// Class from which all TileSets derive.
	/// </summary>
	abstract public class TileSet
	{
		
		public TileSet()
		{
		}
		
        /// <summary>
        /// When overriden in a derived class, returns an instantiation of a tile with its collision effects.
        /// </summary>
        /// <param name="type"></param>
        /// <returns></returns>
		virtual public TileObject GetTileObject(int type){
			return new TileObject(type);
		}

        /// <summary>
        /// When overriden in a derived class, gets the number of unique tiles in a tile set.
        /// </summary>
        virtual public int Count
        {
            get
            {
                return 0;
            }
        }
	}
}
